package dnl.persistence;

import java.sql.Types;

public enum SqlType {

	BIT(Types.BIT),
	ARRAY(Types.ARRAY),
	BIGINT(Types.BIGINT),
	BINARY(Types.BINARY),
	BLOB(Types.BLOB),
	BOOLEAN(Types.BOOLEAN),
	CHAR(Types.CHAR),
	CLOB(Types.CLOB),
	DATALINK(Types.DATALINK),
	DATA(Types.DATE),
	DECIMAL(Types.DECIMAL),
	DISTINCT(Types.DISTINCT),
	DOUBLE(Types.DOUBLE),
	FLOAT(Types.FLOAT),
	INTEGER(Types.INTEGER),
	LONGNVARCHAR(Types.LONGNVARCHAR),
	LONGVARBINARY(Types.LONGVARBINARY),
	LONGVARCHAR(Types.LONGVARCHAR),
	NCHAR(Types.NCHAR),
	NCLOB(Types.NCLOB),
	NUMERIC(Types.NUMERIC),
	NUMBER(Types.NUMERIC),
	NVARCHAR(Types.NVARCHAR),
	SMALLINT(Types.SMALLINT),
	SQLXML(Types.SQLXML),
	STRUCT(Types.STRUCT),
	TIME(Types.TIME),
	DATE(Types.DATE),
	TIMESTAMP(Types.TIMESTAMP),
	TINYINT(Types.TINYINT),
	VARBINARY(Types.VARBINARY),
    VARCHAR2(Types.VARCHAR),
	VARCHAR(Types.VARCHAR);
	
	private final int type;

	private SqlType(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}
	
}
